<div
  class="artist-preview-container"
  [routerLink]="artistData.type === 'library-artists' ? ['/library/artists', artistData.id] : ['/artists', artistData.id]"
>
  <span class="artist-name">{{artistData.attributes.name}}</span>
</div>
